package pers.xiaojun.boot.module.system.controller.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 登录响应对象
 *
 * @author xiaojun
 * @since 2025-10-04
 */
@Schema(description = "登录响应实体-VO")
@Data
@Builder
public class AuthLoginRespVO {

    @Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "538f381e5c2c459f9a7e8689a71e29c1")
    private String accessToken;

    @Schema(description = "刷新令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "6q3h571g2i24f98f9k0e6489a09e53g9")
    private String refreshToken;

    @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1761356338")
    private LocalDateTime expiresTime;

}
